#include"FuncStruct.h"
#include"stdio.h"
#include <stdlib.h>

int	DeQueue(LinkQueue *Q,MapTurn *E)

{
	QNode *p;
	if(Q->front==Q->rear) return 0;
	p=Q->front->next;
	*E = p->data;
	Q->front->next=p->next;
	if(Q->rear==p)
		Q->rear=Q->front;
	free(p);
	return 1;
	


}
